home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 71
/
MOBICLIC 71.ISO
/
mac
/
DATA
/
COMMUN
/
temp0001
/
00019_Script_Temporisation sur image
< prev
next >
Wrap
Text File
|
2004-12-05
|
1KB
|
39 lines
-- ⌐ Bernard Grimal - ao√t 2000
on getBehaviorDescription me
return \
"Pause d'une durΘe dΘterminΘe" & RETURN & RETURN & \
"DΘposez ce comportement sur la piste script." & RETURN & RETURN & \
"ParamΦtres :" & RETURN & \
"DurΘe de la pause : durΘe en secondes " & RETURN & \
"La distribution partagΘe menus.cst doit Ωtre liΘe pour que ce comportement fonctionne."
end getBehaviorDescription
on getBehaviorTooltip
return \
"Marque une pause de la durΘe en secondes choisie puis passe α l'image suivante."
end getBehaviorTooltip
property temps
on exitFrame me
if the timer < 60*temps then
go to the frame
end if
end exitFrame
on beginSprite me
startTimer
end beginSprite
on isOKToAttach (me, typeObjet)
if typeObjet = #script then
return(1)
end if
end on
on getPropertyDescriptionList
return [ #temps: [ #comment: "DurΘe de la pause (en secondes):", #format: #integer, #default: 1, #range: [#min:1, #max:20] ] ]
end getPropertyDescriptionList